<?php

namespace App\Enums;
//关系系统
class ConnectEnum {
    //所有关系
    const ALL_RELATION = [
        self::CP_RELATION,
        self::STUDENT_RELATION,
        self::FRIEND_RELATION,
    ];
    const CP_RELATION = 1;  //cp关系
    const STUDENT_RELATION = 2;//师徒关旭
    const FRIEND_RELATION = 3;//密友关系
    
    //最小设置昵称等级
    const MIN_SET_NICK_LEVEL = 5;
    
    //状态
    const STATUS_NORMAL = 1; //正常
    const STATUS_UNBIND = 2;//解绑
    const STATUS_DELETE = 3;//删除
    
    //亲密度模块
    const PRODUCT_MODULE_CONNECT = 1;
    
    //关系申请过期时间 24小时
    const AUTO_CANCEL_TIME = 24*3600;
    
    //最大经验等级
    const MAX_EXP_LEVEL = 10;
    const MAX_EXP_NUM = 10000;
    
    const ONE_DAY_MAX_EXP = 50000;  //当日最大礼物金币数  50000
    //记录变更类型
    const BUY_MALL = 1; //购买亲密家园商品
    const SEND_GIFT = 2;//赠送礼物
    
}
